package com.example.demo.model;

import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.beans.factory.annotation.Value;
import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.ResponseBody;

/**
 * Created with IntelliJ IDEA.
 * Description:
 * User: lishuo
 * Date: 2023-09-04
 * Time: 9:02
 */
@Controller
@ResponseBody
public class Test {
/*    @Value("${logging.level.root}")
    private String myConfig;*/
//    @Autowired
//    private User stu;

    @RequestMapping("/hello")
    public String sayHello() {
        return "hahaha";
    }
}
